home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Languguage OS 2
/
Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO
/
a_utils
/
ffccflow
/
ffccflow.lha
/
ffccc+flow
/
ffccc
/
PUTOPA.f
< prev
next >
Wrap
Text File
|
1992-07-31
|
530b
|
19 lines
SUBROUTINE PUTOPA(SNAME,STYP,ICHR,ICHRE,IERR)
C! Put an operand on the stack.
include 'STACK.h'
CHARACTER*(*) SNAME,STYP
NLEVL = NLEVL+1
IF(NLEVL.GT.MLEVL) GOTO 900
CTYP(NLEVL)(:LCTYP) = STYP(:LCTYP)
LSN = MAX(0,INDEX(SNAME,' ')-1)
LOPD(NLEVL) = MIN(LSN,LCOPD)
COPD(NLEVL)(:LOPD(NLEVL)) = SNAME(:LOPD(NLEVL))
COPT(NLEVL) = ' '
IPOS(NLEVL) = 0
IERR = 0
GOTO 999
900 IERR = NLEVL
999 CONTINUE
RETURN
END